package com.youzan.cloud.service.impl;

import com.youzan.cloud.dataobject.SignatureConfig;
import com.youzan.cloud.mapper.SignatureConfigMapper;
import com.youzan.cloud.service.SignatureConfigService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

/**
 * @author zhangxingyu
 * @date 2021/12/9 20:30
 * @description
 */
@Service
public class SignatureConfigServiceImpl implements SignatureConfigService {
    @Resource
    private SignatureConfigMapper signatureConfigMapper;
    @Override
    public SignatureConfig selectConfigByAppId(String appId) {
        return signatureConfigMapper.selectConfigByAppIdAndSecret(appId,null);
    }
}
